package ycl.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;

import java.time.LocalDateTime;


/**
 * <p>
 * 角色
 * </p>
 *
 * @author ycl
 * @since 2022-03-03 11:43:56
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_role")
@ApiModel(value = "SysRole对象", description = "角色")
public class SysRole extends BaseEntity {

	
	private static final long serialVersionUID = 1L;

	@Schema(description = "角色名")
	@TableField("name")
	private String name;

	@Schema(description = "标识")
	@TableField("identification")
	private String identification;

	@Schema(description = "创建时间")
	@TableField("create_time")
	private LocalDateTime createTime;

	@Schema(description = "修改时间")
	@TableField("update_time")
	private LocalDateTime updateTime;

	@Schema(description = "备注")
	@TableField("remark")
	private String remark;

	@Schema(description = "状态, 启用, 禁用")
	@TableField("status")
	private Boolean status;
}
